package com.sixfoot.domain.scale;

import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

import com.sixfoot.foundation.persistence.UUIDBaseModel;

/**
 * 标记
 * 
 * @author six-foot
 *
 */
@Entity
@Table(name = "scale_mark")
public class ScaleMark extends UUIDBaseModel {
	private Date time; 			// 时间
	private String remark;		// 备注
	private Scale scale;		// 记录
	
	public Date getTime() {
		return time;
	}
	public void setTime(Date time) {
		this.time = time;
	}
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	@ManyToOne
	@JoinColumn(name = "scale_id")
	public Scale getScale() {
		return scale;
	}
	public void setScale(Scale scale) {
		this.scale = scale;
	}
	
}
